<?php
class retrieve_session extends retrieve_base{

	private $module_display_options 	= array();
	
	/**
	* function produces abstract structure of modules db structure
	*
    * used to generate the table structure required abstract function that passes an abstract
	* representation of the desired table structure to the proper database module which will
	* interpet the abstract and convert it into a valid SQL Create table structure.
	*
	* @return Array list of abstract table definitions for this module
	*/
	function create_table(){
		$tables = array();
		/**
		* Table structure for table 'File_info'
		*/
		
		$fields = array(
			array("SessionID"			,"varchar(255)"		,"NOT NULL"	,""),
			array("LastUpdated"			,"datetime"			,"NOT NULL"	,""),
			array("Client"				,"unsigned integer"	,"NOT NULL"	,"default '0'"),
			array("user_id"				,"unsigned integer"	,"NOT NULL"	,"default '0'"),
			array("ipaddress"			,"varchar(15)"		,"NOT NULL"	,""),
			array("DataValue"			,"text"				,""			,"default ''")
		);
		$tables[count($tables)] = array("sessions", $fields, "SessionID");
		return $tables;
		//file_associations
	}

}
?>